home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / COMMUNIC / 2565.ZIP / MODEMD22.ZIP / MODEMD22.DOC < prev    next >
Text File  |  1989-12-06  |  57KB  |  1,278 lines

  1.               ___________________________________________________
  2.  
  3.  
  4.                                      T H E
  5.  
  6.                                    M O D E M
  7.  
  8.                                   D O C T O R
  9.  
  10.  
  11.                             Shareware Version 2.1S
  12.                               Hank Volpe (c) 1989
  13.                                108 Broadmoor Dr
  14.                               Tonawanda NY 14150
  15.  
  16.               ___________________________________________________
  17.  
  18.  
  19.  
  20. Section 1. Introduction -
  21. -------------------------
  22.  
  23. The Modem Doctor is a professional diagnostic tool designed to work with IBM-
  24. PC's and compatibles. There are two versions of the Modem Doctor, the 
  25. Shareware Version and the Registered Version. 
  26.  
  27. The Registered Version of the Modem Doctor contains complete diagnostics for 
  28. 8250 and compatible UARTS, RS-232 data lines, and Carrier tests. Some of the 
  29. many diagnostic features of the Registered Version are ;
  30.  
  31.  
  32. **  Support for COM 1 through COM 4
  33.  
  34. **  Baud Rates from 300 to 19200 bps
  35.  
  36. **  Support for Courier HST/Dual Standard/V.32 Modems  [+]
  37.  
  38. **  Auto log-in of COMM Ports to DOS for use by other programs
  39.  
  40. **  Manual log-in of COMM ports for Non-Standard Hardware
  41.  
  42. **  On-screen Display of all 8250 and Compatible UART registers
  43.  
  44. **  On-screen Display of Modem S-Registers
  45.  
  46. **  Full Diagnostic tests of UART and RS-232 Channels including;
  47.  
  48.      -- ALL UART REGISTERS
  49.  
  50.      -- ALL RS-232 Handshaking Signals
  51.  
  52.      -- 8259 Interrupt Controller Mask Registers
  53.  
  54.      -- Digital Loopback UART Tests
  55.  
  56.      -- Analog Loopback Data Tests
  57.  
  58. **  Full Diagnostic Checks of "AT" Instruction Set Modems
  59.  
  60.      -- Carrier Tests on both Originate and Answer Frequencies
  61.  
  62.  
  63.      -- Carrier Test interface for "Dumb" Modems or Data Channels
  64.  
  65.      -- Modem Microprocessor Command Channel Diagnostics
  66.  
  67.      -- Support for High Speed Modems
  68.  
  69.  
  70. **  Interactive Mode with 4K Communications Buffer for;
  71.  
  72.      -- TTY mode Interactive Communications over Serial
  73.  
  74.         Port or Modem while on-line
  75.  
  76.      -- Custom Designed Tests...Help Menu Included
  77.  
  78.      -- On-Line "Hot-key" Viewing of 8250 UART Registers
  79.  
  80.  
  81.  
  82. The Shareware Version of the Modem Doctor is designed for people who would 
  83. like to try a piece of software before buying it. This "Look-see" version has 
  84. some limits over the Registered Version, however it is does provide the 
  85. following full-functioned Diagnostics;
  86.  
  87.  
  88. **  Support for COM 1 and COM 2    
  89.  
  90. **  Baud Rates from 300 to 2400 bps
  91.  
  92. **  Auto log-in of COMM Ports 1 and 2
  93.  
  94. **  On-screen Display of all 8250 and Compatible UART registers
  95.  
  96. **  On-screen Display of Modem S-Registers
  97.  
  98. **  Diagnostic tests of UART and RS-232 Channels including;
  99.  
  100.      -- ALL UART REGISTERS
  101.  
  102.      -- ALL RS-232 Handshaking Signals
  103.  
  104.      -- 8259 Interrupt Controller Mask Registers
  105.  
  106.  
  107. **  Full Diagnostic Checks of "AT" Instruction Set Modems
  108.  
  109.      -- Carrier Tests on both Originate and Answer Frequencies
  110.  
  111.      -- Carrier Test interface for "Dumb" Modems or Data Channels
  112.  
  113.      -- Modem Microprocessor Command Channel Diagnostics
  114.  
  115.  
  116.  
  117. **  Interactive Mode with 4K Communications Buffer for;
  118.  
  119.      -- TTY mode Interactive Communications over Serial
  120.  
  121.         Port or Modem while on-line
  122.  
  123.      -- Custom Designed Tests...Help Menu Included
  124.  
  125.      -- On-Line "Hot-key" Viewing of 8250 UART Registers
  126.  
  127.  
  128. The Modem Doctor is copyrighted by Hank Volpe. The Shareware Version of this 
  129. program may be distributed on Bulletin Board Systems or in Public Domain 
  130. Libraries as long as a Fee is not charged for its duplication or acquisition.
  131. Under no conditions can anyone accept payment for the Modem Doctor but Hank 
  132. Volpe or agents authorized for resale by Hank Volpe.
  133.  
  134. The Modem Doctor is distributed on as "As-is" basis, with no warranties for 
  135. usefulness or suitability expressed or implied. Users of the Shareware 
  136. version are granted a limited license to use this program. It is expected 
  137. that if you use it for more than 30 days, that you will register the Modem 
  138. Doctor.
  139.  
  140. Registration adds many powerful features that make the Modem Doctor an 
  141. excellent RS-232/UART/Modem Diagnostic Tool. Comparable programs cost well 
  142. over $100, while the Modem Doctor Registration Fee is just $19.95 for a 
  143. single copy.
  144. Group Discount prices for software distributors and Businesses are available.
  145.  
  146. For Single-user registration, send a check or Money order for $19.95 to
  147.  
  148.                                   Hank Volpe
  149.                               108 Broadmoor Drive
  150.                               Tonawanda NY 14150
  151.  
  152. You will receive the latest version of the Modem Doctor, plus several other 
  153. useful Modem Utilities. Registered Users also are entitled for updates to 
  154. newer versions (when available) for a small fee to cover shipping and 
  155. handling.
  156. Section 2. Starting MDR
  157. ------------------------
  158. The Modem Doctor has been designed to work with PC-Type Serial Ports and "AT" 
  159. Instruction Set (so called Hayes Compatible[++]) Modems. The Modem Doctor 
  160. requires at least 1 Serial Port to Operate.
  161.  
  162. MDR is written to run under MS or PC DOS 2.2 or higher, requires a
  163. MDA or CGA adaptor and at least 80K of program memory. When MDR is
  164. started, it will use the last mode that the display adaptor was in
  165. (unless it was in EGA or VGA mode or a graphics mode). MDA and CGA are
  166. the two execution modes regardless of what kind of adaptor is in use.
  167.  
  168. Code has been included to work with hardware-incompatible display
  169. adaptors as long as they are at least IBM-PC Bios compatible. This is
  170. operator selectable at runtime.
  171.  
  172. To start MDR, type MDR from the dos prompt. If you wish to use the
  173. Bios compatible mode instead of direct display writes, start the
  174. program using the Bios switch ;   MDR /B
  175.  
  176.  
  177. Section 3. First Time Setup
  178. ------------------------------
  179. MDR checks to see what hardware is available and reports its results
  180. to you. Displayed on the bottom line is the serial number unique to
  181. each copy (Registered Version..Shareware Version says "Shareware").
  182. Press any key to continue.
  183.  
  184.  
  185.                         ╔[  Ports  ]══╗
  186.                         ║ Use COMM 1  ║
  187.                         ║ Use COMM 2  ║
  188.                         ║ Use COMM 3  ║  * Registered Version Only
  189.                         ║ Use COMM 4  ║  * Registered Version Only
  190.                         ║             ║
  191.                         ╚═════════════╝
  192.  
  193. Next, you are instructed to pick from a list of valid comm ports. The
  194. only ports that are listed are valid ports that MDR found when it
  195. first started. The Registered Version allows you to add ports that are not 
  196. "standard" ports, (check the section on Login). Use the arrow keys to find 
  197. your selection, and then press return to select.
  198.  
  199.                          ╔[  Baud  ]═╗
  200.                          ║   300 BPS ║
  201.                          ║  1200 BPS ║
  202.                          ║  2400 BPS ║
  203.                          ║  4800 BPS ║   * Registered Version Only
  204.                          ║  9600 BPS ║   * Registered Version Only
  205.                          ║ 19200 BPS ║   * Registered Version Only
  206.                          ╚═══════════╝
  207.  
  208. A window now opens showing you valid comm port speeds. Select a speed
  209. from this menu. Please note, don't select a speed faster than your
  210. modem can handle. The reason for faster speeds is so communication
  211. links can also be tested. Use the arrow keys and press return to make
  212. your selection.
  213.  
  214.               ╒[  Select an Option  ]══════════════╕
  215.               │ Test Modem / Port 1 to 300 BPS     │
  216.               │ Test the UART Hardware Only        │
  217.               │ Dont set up modem, return to Menu  │
  218.               └────────────────────────────────────┘
  219.  
  220. At this point you are in the options menu. If you select Test Modem, a
  221. series of commands and tests will be performed to make sure the modem
  222. is on line and running. If you select Test UART Hardware, only the
  223. 8250 UART will be tested. The modem will not be setup. This selection
  224. is useful only if you wish to test an RS-232 line or a "dumb" modem.
  225. Selection 3 aborts to the main menu
  226.  
  227.  
  228.  
  229.  
  230. A. Test Modem/ UART
  231. ---------------------
  232.  
  233.                   Preliminary Diagnostic Checks of Hardware
  234.                   -----------------------------------------
  235.  
  236.                          Testing Modem Microprocessor
  237.                          ----------------------------
  238.                    Modem Microprocessor Command Bus Active
  239.                    Modem reports a 9600 bps Modem installed
  240.                  Modem Microprocessor Accepts Setup Commands
  241.  
  242.  
  243.                          Modem Microprocessor ON-LINE
  244.  
  245.                      Modem - UART Status appears correct
  246.                           Press any key to continue
  247.  
  248. Above is displayed then normal test results with a modem.  First step
  249. tests the UART to Modem hardware. If any connection errors are
  250. discovered, they are reported to the screen. Next the modem command
  251. bus is tested and if its compatible, the modem ID information is
  252. queried from the Modem Processor. Finally, the modem is setup for
  253. diagnostics. Note: These setup strings do not overwrite any non-
  254. volatile storage. If all is ok, all the UART registers and the First
  255. 16 Modem S registers are displayed. This display is not shown the next
  256. time you log in a comm port unless you press the space bar
  257.  
  258.  
  259. If the modem does not respond to certain parts of the tests, error
  260. messages are reported.
  261.  
  262.  
  263.                      Testing Modem Microprocessor
  264.                      ----------------------------
  265.             Modem Microprocessor Command Mode Not Detected
  266.                        Software Reset Initiated
  267.  
  268. This message is displayed if the modem did not respond the first time
  269. for a query to its status. This could happen for any number of
  270. reasons, including that the modem was still on-line and not in the
  271. command mode. A soft-reset is performed, which essentially tries to
  272. wake the processor up.
  273.  
  274.           No Response...resetting Modem Microprocessor ...attempt #1
  275.           No Response...resetting Modem Microprocessor ...attempt #2
  276.           No Response...resetting Modem Microprocessor ...attempt #3
  277.  
  278. After 3 soft-resets, the Modem Doctor assumes that the modem is jammed
  279. and needs a hardware reset. A hardware reset is the program equivalent
  280. of turning the modem on and off again. This is the only way to reset
  281. some internal modems that get "jammed" when the computer is first
  282. turned on. Clearing a "jam" usually takes no more than 2 attempts.
  283.  
  284.              Trying a Hardware reset of the Modem Microprocessor
  285.  
  286. The Hardware reset is performed, and again the modem microprocessor is
  287. strobed for its status.
  288.  
  289.  
  290.                            Software Reset Initiated
  291.  
  292. After a hardware reset, a soft reset is performed again, attempting to
  293. wake the processor up. If this fails, the following message is
  294. displayed;
  295.  
  296.               Modem Microprocessor Did Not Accept Setup Commands
  297.              Trying a Hardware reset of the Modem Microprocessor
  298.  
  299. After one more attempt at waking the modem up, the Modem Doctor
  300. assumes that the modem is not compatible  and based on the status
  301. given it by the UART, it will report if the device is off or not
  302. connected.
  303.  
  304.         WARNING...This unit does not have a Compatible Modem attached
  305.  
  306.         WARNING...The Modem Device appears to be off or not connected
  307.  
  308. The registers are now displayed for diagnostic tests, and a conclusion
  309. based on the status of the registers is displayed. There are many
  310. reasons why the modem/UART could fail. See the error code section for
  311. details.
  312.  
  313. If the UART is fine, but the modem is not compatible, the program will
  314. tell you that the UART hardware tests ok and display this in a window
  315. to the right of the register display.
  316.  
  317. B. UART Tests
  318. ---------------
  319. The UART test is performed every time either the Modem or the UART test
  320. is selected. Essentially, the UART test programs all of the registers
  321. of the UART and looks to see that the correct values have been placed
  322. in them. After that, it looks to see that an RS-232 loop is active. If
  323. not, it displays an error message saying that the loop is either
  324. disconnected or a register in the UART is defective.
  325.  
  326. Each register is checked for proper values...if anyone of them fail, a
  327. window will open and display a possible cause for the problem.
  328.  
  329.                   Preliminary Diagnostic Checks of Hardware
  330.                   -----------------------------------------
  331.                           Testing UART Hardware Only
  332.                           --------------------------
  333.  
  334.                      Modem - UART Status appears correct
  335.  
  336. The first time through these tests, the registers will display for
  337. diagnostics. Unlike the modem tests, only the UART registers are
  338. displayed.
  339.  
  340.  
  341. C. Return to main menu
  342. ----------------------
  343. Selecting this returns you to the main menu, this allows you to change
  344. an entry made in error without having to wait for the diagnostic
  345. checks to fail.
  346.  
  347.  
  348. In any event, after any of these tests have been run, you will then
  349. enter the Modem Doctor's Main Menu.
  350.  
  351.  
  352.  
  353.  
  354. Section 4. The Main Menu
  355. ----------------------------
  356.  
  357. ┌───────────────────────── The Modem Doctor ────────────────────────────┐
  358. │Log-in   Regs      Carrier   Loopback  Manual    Setup     End Program │
  359. └───────────────────────────────────────────────────────────────────────┘
  360.  
  361. All of the above selections are toggled using the arrow keys and
  362. selected using the return key. Pressing the down arrow displays a
  363. brief message about what each function does.
  364.  
  365.  
  366.                          Log-in COMM Ports
  367.                          ------------------
  368.        The ROM-BIOS only looks for COMM ports 1 and 2. Use this
  369.        section to manually log-in a COMM port that cannot be
  370.        detected by DOS. Entries are also good after you quit
  371.          (NOTE..This feature in Registered Version Only!)
  372.  
  373.  
  374.                       UART Register Diagnostics
  375.                       -------------------------
  376.        This test section can be used to check the contents
  377.        of an 8250 UART and the 8259 Interrupt Controller mask
  378.        register. White = Active, Gray = Not Active
  379.  
  380.  
  381.                           Carrier Mode Tests
  382.                           ------------------
  383.         This tests runs a Smartmodem in an test of the Carrier
  384.         Originate and Answer frequencies. A Smartmodem or a modem
  385.         with Manual Carrier selection is required
  386.  
  387.  
  388.  
  389.                           Loopback/ UART Tests
  390.                            ------------------
  391.          This test is designed to check out a RS-232 COMM port
  392.          for proper operation. No Modem is required for this test
  393.          however this test is not for an Internal Modem, although
  394.          it can be run as a test of the command channel.
  395.            (NOTE..This feature in Registered Version Only!)
  396.  
  397.  
  398.                           Manual Interactive Tests
  399.                           -------------------------
  400.          This test is designed to check out the command channels
  401.          and user interface to a Smartmodem. You can also use it
  402.          with an RS-232 loop or to send your own commands.
  403.  
  404.  
  405.  
  406.                            Setup  Diagnostics
  407.                         -------------------------
  408.          Use this test section to return to the setup mode to
  409.          change a Port assignment or a Baud Rate to a new value.
  410.          Only Logged-in Comm ports can be accessed.
  411.  
  412.  
  413.                               Exit Program
  414.                               -------------
  415.           Quit the program, all vectors and interrupt tables
  416.           are restored.
  417.  
  418.  
  419. 4.1 Login In Comm ports
  420. -----------------------
  421. (NOTE..This feature in Registered Version Only!)
  422.  
  423. When you select this menu, you are offered these choices
  424.                  ╔[  Comm Port Login  ]═══════════╗
  425.                  ║ Let me Auto Detect COMM Ports  ║
  426.                  ║ You Manually Enter COMM Ports  ║
  427.                  ║      Return To Main Menu       ║
  428.                  ╚════════════════════════════════╝
  429.  
  430. Option 1 repeats what the Modem Doctor does when you first begin to
  431. run the program.
  432.  
  433. Option 2 allows you to enter a "non" standard Port address and assign
  434. one of the two Interrupt lines to use with the UART.
  435.  
  436. Option 3 returns to the main menu.
  437.  
  438. Port addresses for PC's are standardized in order for Communication
  439. programs to properly work. The industry standards are
  440.  
  441. COMM 1  3F8        COMM 2   2F8        COMM 3  3E8      COMM 4  2E8
  442.         IRQ4                IRQ3               IRQ4             IRQ3
  443.  
  444.  
  445. The Port addresses for Serial Ports is held in a reserved area of PC
  446. Memory. The "base port" of each of these UARTS is saved in a distinct
  447. area. When you first start the Modem Doctor, the program checks these
  448. locations to see if there are any Comm ports already logged in by Dos.
  449.  
  450. If not, a search is conducted for the PC's default Comm 1 and Comm 2
  451. port values and these are logged in. Next, a search is performed for
  452. the other industry standard comm ports. Some PC's already log these
  453. in, however IBM-PC's and those that mimic exactly their ROM-BIOS
  454. routines do not log in a COMM 3 or a COMM 4. The Modem doctor will,
  455. and as a side benefit, these stay logged in until the next warm or
  456. cold boot is performed on your computer. Why would dos not log in a
  457. port? Well, some multi-tasking programs overwrite this area to prevent
  458. "swapping" of communication programs and it is possible that they
  459. might not be properly restored on exit.
  460.  
  461.  
  462. Option 2 is the only real option available. Please use it with
  463. caution. The only real need for this option is for logging in a COMM
  464. port that does not use any of the listed industry standards as its
  465. base port address.
  466.  
  467. Consult your Serial Port or Modem's user manual to make sure you enter
  468. the exact Port address and select the correct Interrupt line to use
  469. with it. Otherwise the Modem Doctor will not recognize or be able to
  470. test any device hooked to this port.
  471.  
  472. Protection is included in this routine to keep someone from
  473. accidentally entering a port that is used by the system board, display
  474. adaptors, or fixed disk adaptor. Entering any of these values, or an
  475. error, will result in the display;
  476.  
  477.              "WARNING...RESERVED PORT...RETRY ENTRY"
  478.  
  479. After running Option 1 or 2 , you must tell the Modem Doctor which
  480. COMM port you wish to use so that testing can begin
  481.  
  482.  
  483.  
  484. 4.2 Regs
  485. -------------
  486.  
  487. The register display section can be an invaluable diagnostic tool.
  488. What this does is "poll" all of the status registers of the UART, and
  489. the Interrupt Controller to tell you exactly what is going on.  When
  490. you use the setup mode, the Modem Doctor checks all of these registers
  491. for correct information. If something wrong is discovered, a warning
  492. is displayed on the screen telling you what the Modem Doctor believes
  493. is wrong. Many different error conditions are checked, see the error
  494. code section for a listing. Each register contains a Mnemonic for each
  495. one of the data bits. Bits that are a logic low ( = 0) are displayed
  496. in low intensity, those that are a logic high (= 1) are displayed in
  497. high intensity. On a color monitor, this is easy to see. On a Mono
  498. Monitor, make sure you have the brightness and contrast controls
  499. properly adjusted to see the difference between the two status
  500. conditions.
  501.  
  502.  
  503.  
  504. ╒[ Line Control Register ]══════════╕
  505. │  DLB STB STP EPS PEN STB WS1 WS0  │
  506. └───────────────────────────────────┘
  507. This register controls many of the setup characteristics of your UART
  508. and how it behaves to your PC. This register is responsible for
  509. setting baud rate, setting break code transmission, parity, and the
  510. length of the serial stream word. When you enter the setup mode,
  511.  
  512. DLB    Divisor Latch          Used to access the baud rate registers
  513.                               Should be 0 for the Modem Doctor
  514.  
  515. STB    Set Break              If High, the modem transmits a break
  516.                               signal, should be 0 normally.
  517.  
  518. STP    Stick Parity           Should be 0 normally
  519. EPS    Even Parity select     High = Even Parity..should be 0 normally
  520. PEN    Parity Enable          Enable Parity checks, should be 0 normally
  521. STB    Stop Bits              Number of stop Bits, should be 0 normally
  522.                               to Indicate 1 stop bit character only.
  523.  
  524. WS1    Word Length Select 1
  525. WS0    Word Length Select 0   These two bits are used to determine the
  526.                               Serial data word length. Both should be
  527.                               High normally to indicate a length of
  528.                               8 bits.
  529.  
  530.  
  531.  
  532. ╒[ Line Status Register ]═══════════╕
  533. │      TSE THE BI  FE  PE  OE  DR   │
  534. └───────────────────────────────────┘
  535.  
  536. The line status register reports error conditions that might have
  537. occurred between the PC and the UART.
  538.  
  539. TSE    TX Shift Register      A High indicates that all characters
  540.        Empty                  sent to the UART were transmitted.
  541.                               Should be High Normally.
  542.  
  543. THE    TX Holding Register    A High indicates that the UART can now
  544.        Empty                  accept a new character from the PC.
  545.                               Should be High Normally.
  546.  
  547. BI     Break Interrupt        A High indicates that a break signal
  548.                               was received. Should be Low Normally
  549.  
  550. FE     Framing Error          A High indicates that a serial data
  551.                               train did not have a proper stop bit.
  552.                               Should be Low Normally.
  553.  
  554. PE     Parity Error           A High indicates that the received
  555.                               serial data's parity did not match
  556.                               what the UART was programmed to receive.
  557.                               This should be Low Normally.
  558.  
  559. OE     Overrun Error          A High indicates that a character in
  560.                               the receive buffer was not read by the
  561.                               PC in time, and another character
  562.                               overwrote and destroyed it. Should be
  563.                               Low Normally.
  564.  
  565. DR     Data Ready             A High indicates that a character has
  566.                               been received and is ready to be read by
  567.                               the PC from the Receiver Buffer. Should
  568.                               be Low normally for these test, but can
  569.                               vary while data is coming in from the
  570.                               Modem.
  571.  
  572.  
  573.  
  574.  
  575. ╒[ Modem Control Register ]═════════╕
  576. │              LP  OT2 OT1 RTS DTR  │
  577. └───────────────────────────────────┘
  578.  
  579. The Modem Control register handles all of the interfacing between the
  580. UART and the modem. Only 5 signals are needed to handle this
  581.  
  582. LP     LOOP                   A High indicates that the Loopback
  583.                               digital diagnostic has been activated.
  584.                               This feature only works with 8250 UARTS
  585.                               or those that are 100% Compatible. This
  586.                               is used in the Digital Loopback test.
  587.  
  588. OT2    OUT 2                  A High enables the UART to generate
  589.                               interrupts. A Low disables interrupts
  590.                               This should always be high for testing
  591.                               purposes.
  592.  
  593.  
  594. OT1    OUT 1                  On 100% compatible modems, a High on
  595.                               this pin will perform a Hardware reset
  596.                               of the modem. Normally this is a Low.
  597.  
  598. RTS    Request to Send        A Handshaking signal that is used by
  599.                               some modems to enable data transfer
  600.                               between the Modem and the UART. Should
  601.                               be High for testing purposes.
  602.  
  603. DTR    Data Terminal Ready    A Handshaking signal that is used by
  604.                               some modems to enable data transfer
  605.                               between the Modem and the UART. Should
  606.                               be High for testing purposes.
  607.  
  608.  
  609.  
  610. ╒[ Modem Status Register ]══════════╕
  611. │  RLS RI  DSR CTS DRD TER DDR DCS  │
  612. └───────────────────────────────────┘
  613. The Modem Status Register returns the status of the control signals
  614. sent by the modem to the UART.
  615.  
  616. RLS    Received Line Detect   A High indicates that a carrier has
  617.                               been received by the modem. When the
  618.                               Analog tests are run, this should be
  619.                               High. If it is not, it is still possible
  620.                               that the Modem is ok, however the
  621.                               cable from the Modem to the UART (for
  622.                               externals only) might not have a complete
  623.                               circuit due to faulty wiring of the
  624.                               RS-232 cable. This signal is very
  625.                               important for some communications
  626.                               programs to operate properly.
  627.  
  628. RI     Ring Indicator         A High indicates that the modem detected
  629.                               a Ringing signal on the phone line.
  630.  
  631. DSR    Data Set Ready         This is part of the DTR/DSR Handshaking
  632.                               pair that is used by some modems to
  633.                               control the flow of data. Should
  634.                               normally be a High.
  635.  
  636. CTS    Clear to Send          This is part of the RTS/CTS Handshaking
  637.                               pair that is used by some modems to
  638.                               control the flow of data. Should
  639.                               normally be a High.
  640.  
  641. DRD    Delta Received
  642.        Line Signal Detect     A High indicates that the Received Line
  643.                               Signal has changed state. Some
  644.                               Communications programs use this also as
  645.                               an indication that a Carrier was
  646.                               detected by the modem.
  647.  
  648. TER    Trailing Edge
  649.        Indicator              A High indicates that the Ring Indicator
  650.                               changed state. Some Communications
  651.                               programs use this as an indication that
  652.                               the phone as Rung.
  653.  
  654.  
  655. DDR    Delta Data Set Ready   Indicates that the DSR signal has changed
  656.                               state.
  657.  
  658. DCS    Delta Clear to Send    Indicates that the CTS signal has
  659.                               changed state.
  660.  
  661.  
  662. ╒[ Interrupt ID Register ]══════════╕
  663. │                      ID2 ID1 ITP  │
  664. └───────────────────────────────────┘
  665. The Interrupt ID Register is used to tell the CPU what kind of
  666. interrupt occurred.
  667.  
  668. ID2    Interrupt Bit 2
  669. ID1    Interrupt Bit 1        These two signals are a binary code
  670.                               which can be read by the CPU to tell
  671.                               what kind of interrupt occurred. Both
  672.                               Bits high indicates an error occurred or
  673.                               a Break Interrupt was received.
  674.  
  675.                               Bit 2 high and Bit 1 low indicates that
  676.                               data is ready to be read by the CPU.
  677.  
  678.                               Bit 1 High and Bit 2 low indicates that
  679.                               a Ring signal or Carrier signal was
  680.                               received.
  681.  
  682.                               For testing purposes, only the Data
  683.                               ready mode is used.
  684.  
  685. ITP    Interrupt Pending      A Low indicates that an interrupt has
  686.                               occurred. For testing purposes, this
  687.                               should always be high if data was
  688.                               successfully read by the Modem Doctor.
  689.                               If it is not, then an interrupt did
  690.                               occur but the CPU did not respond.
  691.                               Suspect a problem with an interrupt
  692.                               Controller Chip or the UART interrupt
  693.                               generating capability.
  694.  
  695.  
  696. ╒[ Interrupt Enable Register ]══════╕
  697. │                  ESI ELI ETI ERI  │
  698. └───────────────────────────────────┘
  699. The Interrupt Enable register is programmed to allow certain types of
  700. interrupts to occur.
  701.  
  702. ESI    Enable Status          A High causes the UART to generate an
  703.        Interrupt              interrupt whenever RI or RSD signals in
  704.                               the Modem Status register go high.
  705.                               Should be low for testing.
  706.  
  707. ELI    Enable Line            A High causes the UART to generate an
  708.        Interrupt              interrupt whenever an error or break
  709.                               interrupt is detected in the Line
  710.                               Status Register. Should be low for
  711.                               testing.
  712.  
  713.  
  714. ETI    Enable Transmitter     A High causes the UART to generate an
  715.        Holding Register       interrupt whenever the THE signal of the
  716.        Empty Interrupt        Line Status register goes High. Should
  717.                               be low for testing.
  718.  
  719. ERI    Enable Receive Data    A High causes the UART to generate an
  720.        Ready Interrupt        interrupt whenever Data is ready to
  721.                               be read by the CPU. The DR line of the
  722.                               Line Status register going to a high
  723.                               condition generates this condition. This
  724.                               signal should be High for testing
  725.                               purposes, since it is the only interrupt
  726.                               needed by the Modem Doctor.
  727.  
  728. ╒[ Interrupt Mask Register ]════════╕
  729. │  IQ7 IQ6 IQ5 IQ4 IQ3 IQ2 IQ1 IQ0  │
  730. └───────────────────────────────────┘
  731. The Interrupt Mask Register is contained on the 8259 Priority
  732. Interrupt Controller on your Computer's Motherboard. Each one of these
  733. Hardware Interrupts corresponds to an external device.
  734.  
  735. IQ7    Printer Interrupt
  736. IQ6    Floppy Disk Interrupt
  737. IQ5    Hard Drive interrupt
  738. IQ4    COM1 Interrupt (also COM3)
  739. IQ3    COM2 Interrupt (also COM4)
  740. IQ2    reserved by IBM (Gateway to second 8259 on AT's)
  741. IQ1    Keyboard Interrupt
  742. IQ0    Timer Interrupt
  743.  
  744. Under Normal Conditions, IQ0,IQ1 and IQ6 should be lit, along with
  745. IQ4 if testing COM1 (or COM3)  or IQ3 if testing COM2 (or COM4). In
  746. addition, other lines could be lit depending on your computer. The only
  747. line the Modem Doctor looks for is the IQ4 or IQ3 lines (depending on
  748. which Serial Port you are testing).
  749.  
  750.  
  751. 4.3 Carrier Tests
  752. -----------------
  753. The Carrier tests are designed to test your modem under actual use
  754. conditions (minus a telephone line).  There are two versions of this
  755. test, one of which is automatically selected by the Modem Doctor
  756. depending on the hardware it detects.
  757.  
  758. Smart Modem Test - If you selected the Test Modem/UART option from the
  759. setup menu and a Modem with a compatible Microprocessor was detected,
  760. the Modem Doctor will test the Originate and Answer frequencies of
  761. your modem automatically. Before running this test, make sure you have
  762. disconnected the modem from the telephone line, because the modem will
  763. go off-hook and sometimes the dial-tone will interfere with testing.
  764.  
  765. You will be prompted to enter a "Loop Count". If you select a count of
  766. 1, you will be able to hear the connecting tones on your speaker. If
  767. you select a count greater than 1, then the speaker is turned off.
  768.  
  769.  
  770. After you make your selection, two windows will open on your screen.
  771. One contains data that is being sent to the modem, the other Data that
  772. has been received by the modem. All of the characters from Binary 0 to
  773. Binary 255 are transmitted. Some of these will look strange because
  774. they are characters of the Extended Character set. The Modem Doctor
  775. takes a great deal of care in preserving the normal condition of your
  776. modem before testing, and sends all the character strings necessary to
  777. test without disturbing any non-volatile memory settings. If you have
  778. an external modem, you will see the data being sent and acknowledged
  779. before testing begins. If you have an internal, please be patient
  780. while it sets up.
  781.  
  782.  
  783. UART or Dumb Modem - This test works the same as the Smart Modem tests
  784. with two main exceptions. First, Your modem must be able to generate a
  785. carrier on its own on the answer and originate frequencies. Most
  786. external "dumb" modems have front panel switches for this function.
  787. Most are marked as AL (for Analog Loopback). If your modem can
  788. generate this, answer yes and follow the prompts on the screen. All
  789. testing is performed as above, except you setup the modem instead of
  790. the Modem Doctor.
  791.  
  792. Errors - If A RLS (Received Line Detect) signal is not received before
  793. testing begins, this indicates that either A Carrier is not being
  794. generated (or properly received in self test) by the modem, or an RS-
  795. 232 Cable to an external modem is improperly wired. Although RS-232
  796. loops will work fine without an RLS signal being wired, there is no
  797. way for the modem Doctor to detect on a Dumb Modem if a carrier was
  798. generated. On a Smart Modem, the Modem Doctor alternately looks for
  799. the word "CONNECT" to be sent from the modem if there is no RLS signal
  800. available. If you wish your all of your communications programs to
  801. work properly, you should get a cable with this signal wired.
  802.  
  803. If an Error is detected during the Analog test, the error Counter is
  804. incremented. There are two error counters; One is used for the
  805. Originate Mode, and the other for the Answer Mode. If you receive an
  806. error, it could be due to a problem with a UART or a Modem at a
  807. certain Baud Rate. Try testing at other Baud rates to determine if the
  808. errors repeat. Also Errors could occur on only the Originate or only
  809. the Answer frequency. This is more prevalent at higher baud rates.
  810. Finally, make sure that the modem was disconnected from the Phone line
  811. before testing. The Dial-tone interferes with some modems. Finally,
  812. there could be a problem with a cable or interrupts not properly being
  813. generated or properly handled by the CPU. Run the Digital/Loopback
  814. tests and if the problem repeats, you might have a bad UART or
  815. motherboard problem.
  816.  
  817.  
  818. 4.4 Loopback Tests
  819. -------------------
  820. (NOTE..This feature in Registered Version Only!)
  821.  
  822. The Loopback tests were designed for two purposes. First, to test an
  823. RS-232 loop including cables that are properly terminated with a
  824. loopback plug, and second, to run a digital loopback test on 8250 and
  825. 100% Compatible UARTS.
  826.  
  827. Selecting Loopback and pressing return fetches this menu
  828.  
  829. ╔[  Loopback Tests  ]═══════════╗
  830. ║ Analog Loopback using a PLUG  ║
  831. ║ Digital Loopback 8250 UARTS   ║
  832. ║ Loopback Plug Technical Data  ║
  833. ║     Return To Main Menu       ║
  834. ╚═══════════════════════════════╝
  835.  
  836. Analog Loopback tests require that you attach a Loopback plug either
  837. to the back of the Comm port connector on your computer, or at the end
  838. of a RS-232 Cable. This test is designed for external Modems, however
  839. you could run this on an internal modem as a test of the command
  840. channel's ability to receive characters. Caution should be used on
  841. internal modems, for some will fail this test. If this happens, don't
  842. be concerned. However this test should NEVER fail with a Loopback
  843. Plug.
  844.  
  845. Digital Loopback tests require that you have an 8250 or 100%
  846. compatible UART in your system. These UART's have built-in diagnostics.
  847. If this test does not run, it means that you do not have a compatible
  848. UART installed. Some UARTS that are not 8250's have a problem entering this 
  849. mode properly. If the test does not start, do not be alarmed, because only 
  850. 8250 and true compatibles will pass this test. However this test will NEVER 
  851. start and then fail unless you do have a hardware problem. You should never 
  852. pick up a character error using this test. If you do, you have a bad UART or 
  853. CPU Motherboard Problem.
  854.  
  855. Both Tests open up windows (like the Analog test) and send and receive
  856. characters to the UART.
  857.  
  858. If you wish to know how to build a loopback plug, select the Loopback
  859. Plug technical data section.
  860.  
  861.  
  862. 4.5 Manual
  863. ----------
  864. As well written as the Modem Doctor is, there exists the possibility
  865. that a Modem or a system might not be compatible with the diagnostics.
  866. The Manual section allows you to send your own string commands to the
  867. Modem, read back data, and in fact you could use this as a Mini-
  868. communications program.
  869.  
  870. If you select this mode, a window opens with the banner Interactive
  871. Mode. At the Bottom are listed the "Hot-Keys" you can use;
  872.  
  873. ALT-C   Clears the screen. This only clears the window of data, and
  874.         leaves all your prompts.
  875.  
  876. ALT-R   This displays the UART registers...handy for real-time
  877.         troubleshooting of RS-232 loops.
  878.  
  879. ALT-H   Help..this displays the basic AT Command set instructions that
  880.         you could use to control your modem. Note that this is only a
  881.         basic set. Some modems have many extensions to this, so for
  882.         advanced work, consult your owners manual.
  883.  
  884. ALT-X   Exits the interactive mode and returns to the main menu.
  885.  
  886.  
  887. 4.5 Setup Mode
  888. --------------
  889. This section was covered above. Use this to change the serial port
  890. under test, the baud rate, and the type of test to be run.
  891.  
  892.  
  893. 4.6 Exit Program
  894. ----------------
  895. This is the only way to exit the Modem Doctor. This is necessary
  896. because the interrupt tables and controllers of your PC must be
  897. returned to their original state in order to avoid problems after you
  898. use the Modem Doctor.  Pressing Control-C or Control-Break during the
  899. Modem doctor will cause one of two things to happen. First, it will
  900. freeze the program deliberately (locking it up) forcing you to
  901. warmboot your computer. Second, if it is at all possible to exit
  902. without damage, a window will open telling you that you can control-
  903. break abort if you wish..answer yes or no.
  904.  
  905.  
  906. 5.0 Error Messages and their Meanings
  907. -------------------------------------
  908. The Modem Doctor, if presented with an error, will make a diagnosis of
  909. the problem. In most cases, this should be enough for you to figure
  910. out what is wrong and go on from there to correct it.
  911.  
  912.  
  913. 5.1 Log In errors
  914. -----------------
  915.  
  916. ALL Available COMM ports are in use...Press to Return
  917.   -COM1 through COM4 are logged in and no new ports can be adtwm mCOMx Not Found
  918.   -A COMM port (x) was not located at the port address specified.
  919.    This is normal during auto-selection, but not if a manual selection
  920.    was entered. If a manually entered adtress did not work, check your
  921.    Modem owners manual to make sure you entered it correctly.
  922.  
  923. WARNING...RESERVED PORT...RETRY ENTRY
  924.   - You entered a port adtress that is assigned to a critical
  925.     Motherboard or CPU adtress port. Your entry was an error..check
  926.     your modem owners manual to get the right port.
  927.  
  928.  
  929. 5.2 Carrier Errors
  930. ------------------
  931. WARNING...CARRIER FAILURE...Status Registers Displayed above
  932.  
  933.  followed by;
  934.  
  935. RLS (Received Line Signal Detect indicates that a carrier has
  936.  not been received by the UART Check modem or connector wiring
  937.  
  938. This indicates that a "dumb" modem did not signal the UART that it has
  939. received a carrier (or is generating one).
  940.  
  941.  
  942. Modem not responding to the Analog originate test
  943.  or;
  944. Modem not responding to the Analog Answer test
  945.  
  946. A Smart Modem did not go into the self test mode. The Modem Doctor
  947. looks for the word "CONNECT" to be returned by the modem. A possible
  948. reason for a perfectly working modem to generate this is if the wrong
  949. baud rate was selected for testing. Smart Modems return
  950. identifications that can be read by the Modem Doctor. If you suspect
  951. you selected the incorrect baud rate, go to setup and select 300 baud
  952. and try again. If it doesn't work this time, you might have a problem
  953. with your modem generating a self test.
  954.  
  955. Modem Transmit Error
  956. - The Modem Doctor attempted to send a character to the Modem, but
  957.   the status of the Transmit Holding Register indicated that the character
  958.   was never sent. This will abort a test. Check cable wiring and that
  959.   somehow the modem did not get disconnected from the Serial port or
  960.   inadvertantly turned off.
  961.  
  962. Modem Queue Failure
  963. - A character was sent to the modem, but nothing, not even the wrong
  964.   character was sent back to the Computer from the Modem. This test is driven
  965.   by interrupts, however if they fail to happen, a brute-force method is
  966.   tried one time and if that still fails to get a character, then this
  967.   error message is displayed. Check cable wiring and again make sure that
  968.   somehow the modem did not get disconnected from the Serial port or
  969.   inadvertantly turned off.
  970.  
  971.  
  972.  
  973. CARRIER NOT DETECTED
  974. - Some Modems in the self-test mode do not raise a carrier (RLS) or send the
  975.   word CONNECT. Instead, the MB (Modem Busy) light blinks on the Modem. One
  976.   case of this is the USR Courier Dual Standard Modem. In this case, the
  977.   self test continues, but the words CARRIER NOT DETECED are displayed in
  978.   the message window instead of CARRIER ON
  979.  
  980. Modem Analog Test passed without any errors in Originate and Answer
  981. Modes
  982.  - Normal results of the testing.
  983.  
  984. "You had a total of x Originate Errors  and  x  Answer Errors
  985.  - An error was detected on character transmission by the Modem
  986.    Doctor. Use the window display to isolate the error if you wish,
  987.    or run the test again, making sure that the phone line is
  988.    disconnected.
  989.  
  990.  
  991.  5.3 Loopback Errors
  992.  -------------------
  993. UART not responding using Analog Loopback Plug mode
  994.  - No characters were received over the RS-232 Loop. Make sure you
  995.    are using a proper RS-232 cable and a proper Loopback plug
  996.  
  997. No Loopback Plug or General Failure of the Hardware
  998.  - None of the handshaking signals (RTS/CTS DTR/DSR) were detected
  999.    (or generated) by the UART. Either you have a bad cable, a bad
  1000.    loopback plug or a faulty UART.
  1001.  
  1002. Loopback Transmit Error
  1003. - The Modem Doctor attempted to send a character to the UART, but
  1004.   the status of the Transmit Holding Register indicated that the character
  1005.   was never sent. This will abort a test. If you are performing the
  1006.   Analog Loopback test, check cable wiring and that  somehow the modem did
  1007.   not get disconnected from the Serial port or  inadvertantly turned off.
  1008.   If you are running a digital loopback test, then this indicates that
  1009.   the UART is failing to send characters. If you have an 8250 or compatible
  1010.   UART, then this would indicate a problem. If your UART is more or less
  1011.   compatible, then this message might get displayed
  1012.  
  1013. Loopback Queue Failure
  1014. - A character was sent to the modem, but nothing, not even the wrong
  1015.   character was sent back to the Computer from the Looping source. This test
  1016.   is driven by interrupts, however if they fail to happen, a brute-force
  1017.   method is tried one time and if that still fails to get a character, then
  1018.   this  error message is displayed. If you are performing the Analog Loopback
  1019.   test, check cable wiring and again make sure that  somehow the Loopback
  1020.   source (Plug or Modem) did not get disconnected from the Serial port or
  1021.   inadvertantly turned off. 
  1022.   If you are running a digital loopback test, then this indicates that
  1023.   the UART is failing to loop characters. If you have an 8250 or compatible
  1024.   UART, then this would indicate a problem. If your UART is more or less
  1025.   compatible, then this message might get displayed
  1026.  
  1027.  
  1028. Analog Loopback Test passed without any errors
  1029.  - Normal result of test
  1030.  
  1031. You had a total of x Errors
  1032.  - At least one error was detected...this is the normal result if a
  1033.    UART does not respond to any test.
  1034.  
  1035. UART not responding to the Digital Loopback test
  1036.  - No characters were looped internally through the 8250 UART. Suspect
  1037.    a non-compatible UART or a failure of the 8250 UART.
  1038.  
  1039. UART Registers did not set for Loop back test
  1040.  - The UART Modem Control Registers did not program properly. This
  1041.    should indicate a hardware failure of the UART under all
  1042.    circumstances (including use with a non-compatible UART).
  1043.  
  1044. UART Digital Test passed without any errors
  1045. - Normal result of test
  1046.  
  1047.  
  1048.  
  1049. 5.4 Setup Errors
  1050. ----------------
  1051. Modem Microprocessor Did Not Accept Setup Commands
  1052.  - Commands were sent to setup the modem for testing, the Modem did
  1053.    not acknowledge. Suspect a non-compatible modem or a possible
  1054.    hardware failure.
  1055.  
  1056. Modem Status Register readings show that there is no status coming
  1057. back from the modem to the UART.  If this is an external modem,
  1058. check" that the cable is plugged in.
  1059.  - The only condition that the UART will not have any status
  1060.    is if an External Modem is off, not connected, or the UART
  1061.    has a serious hardware problem.
  1062.  
  1063. Line Control register readings show that the word length selected is
  1064. incorrect. WS1 and WS0 should both be on indicating that 8 bit words
  1065. are to be used. The UART is defective or communications to the UART
  1066. are suspect.
  1067.  
  1068.  
  1069. Line Status Readings Show
  1070. show that the Tx Holding Register THE or the Tx Shift Register TSE is
  1071. not resetting properly. UART is suspect or connections to the UART
  1072. from the computer.
  1073.  
  1074. Modem Control register readings show that either DTR,RTS or OT2
  1075. signals are not set properly. DTR and RTS are essential for
  1076. communications. OT2 is essential for interrupts. UART is suspect or
  1077. connections to the UART from the computer
  1078.  
  1079. Interrupt ID register readings show that an interrupt is pending when
  1080. none should be. UART is suspect or connections to the UART from the
  1081. computer.
  1082.  
  1083. Interrupt Enable register readings show that ERI Enable Receiver ints
  1084. is not set properly. UART is suspect or connections to the UART from
  1085. the computer.
  1086.  
  1087.  
  1088. 8259 Interrupt Controller has not responded to setting the IRQ4 line.
  1089. This problem is on the system board of your computer. Run your
  1090. computer diagnostics program to locate the error
  1091.  
  1092. 8259 Interrupt Controller has not responded to setting the IRQ3 line.
  1093. This problem is on the system board of your computer. Run your
  1094. computer diagnostics program to locate the error
  1095.  
  1096.  
  1097. I cant find a COMM Port
  1098. - If Dos does not Log in Comm 1 or Comm 2 and if no port is
  1099.   Auto-Detected, then the Modem Doctor Aborts for there is no
  1100.   reason to run the program.
  1101.  
  1102. WARNING...This COMM PORT is MODEM STATUS REGISTER IS DEFECTIVE
  1103. - The Modem status register is one of the registers tested during
  1104.   auto-login detection. If it doesn't respond properly, the UART
  1105.   is probably defective and this message is displayed.
  1106.  
  1107.  
  1108. Section 6. Special Modes and Information
  1109. ----------------------------------------m mCurrently, the only High-Speed Modem supported is the USR Courier HST and
  1110. Dual Standard /V.32 Modems. The Modem Doctor recognizes these modems upon 
  1111. initial testing and sets up its test parameters a certain way to compensate 
  1112. for their Carrier self test limitations.
  1113.  
  1114. Because of the trellis-encoded Async/modulation of the USR HST Mode, the 
  1115. maximum Carrier test Baud rate is 2400 bps (see the USR Manual for this 
  1116. info). To work around this, the Modem Doctor Programs these modems to use a 
  1117. fixed DTE/DCE Rate with the &B1 Parameter, allowing communications to and 
  1118. from the modem at speeds up to 19200 bps. When working in the V.32 mode 
  1119. however, the Carrier test (and all loopback tests ) can be performed at 9600 
  1120. since the modulation is symmetrical again. Also when the selected baud rate 
  1121. is higher than 2400 bps, the MNP Protocol switch is set to &M0, otherwise if 
  1122. there was an error, the Modem would try to correct it instead of passing the 
  1123. error on to the Modem Doctor. None of these changes is saved to the non-
  1124. volatile ROM, so you should not experience a problem. However, the V.32 and 
  1125. Dual Standard Modems might experience a problem if register S13 is not set to 
  1126. 1. This is the default from the factory and insures that the modem will be 
  1127. reset when the DTR line is dropped. If you are experiencing a problem, use 
  1128. the interactive mode and type S13=001. This change is not permanent.
  1129.  
  1130. If you are using a USR Dual Standard Modem, then the Modem Doctor will test 
  1131. whatever mode is active via the B switch. If the current Modem setting is
  1132. B0, then the V.32 mode will be tested, if B1 is set, then the HST mode will 
  1133. be tested. You can change this setting to whatever you wish by using the 
  1134. Interactive mode, type ATZ, then type ATB0 &W or ATB1 &W. This has to be 
  1135. written to the firmware in order to stay valid throughout all the testing, 
  1136. but the ATZ command before a save will always recall your settings, insuring 
  1137. you have only changed the one parameter. Please note, this is included for 
  1138. advanced users and is one of the reasons for the interactive mode. It is not 
  1139. necessary for you to do this to test your modem unless you wish to. 
  1140.  
  1141. For more information, see the next section regarding "Quirks".
  1142.  
  1143.  
  1144.  
  1145. The Modem Doctor will not send any special codes to a High-Speed Modem unless 
  1146. the baud rate selected is over 2400 bps. There are so many different 
  1147. manufacturers extended command sets that its possible the codes for the 
  1148. Courier could interfere with codes for other brands of Modems. I hope to 
  1149. eventually include tests for other 9600 bps and higher modems, but for now 
  1150. only the USR Couriers are supported. The reason I mention this is that as 
  1151. registered users, you might try this program out on other modems, and if they 
  1152. are not USR Courier compatible, they might not properly test at speeds above 
  1153. 2400. I have tested several other brands, and as long as they are running 
  1154. what is called the "Compatible" instruction set, the Modem Doctor should run 
  1155. fine.
  1156.  
  1157.  
  1158. Finally, users of 8250 compatible UARTS that do not support the Digital 
  1159. (Chip) Loopback will get an error. This should be of no concern. However if 
  1160. the test runs for a while, then fails, it could indicate a problem with your 
  1161. UART. This is explained in the pull-down window in the program.
  1162.  
  1163.  
  1164.  
  1165. The Modem Doctor has been tested on about 25 Modems from Major Manufacturers 
  1166. and on a variety of Clones and Compatibles (plus the "Real Thing"). It is 
  1167. possible that a certain combination of hardware still might give problems, 
  1168. however if you are a registered user, I will find a way to make it work. 
  1169.  
  1170. What tests cannot Do
  1171. --------------------
  1172. Although I tried to be extremely thorough in my tests, there are somethings 
  1173. that tests just cannot do or pinpoint. If you are having problems with 
  1174. excessive line-noise, you might have a bad connection between your modem and 
  1175. your telephone wiring in the house. Another possibility, although remote, is 
  1176. that your modem does not offer the correct input impedance to the telephone 
  1177. line. This can cause poor connections. The problem is with the electronic 
  1178. design of the modem, and again, it is more prevalent in inexpensive modems. 
  1179. Also, tests cannot check that the communications program you are using is set 
  1180. up correctly. At times, installing a communications package can be very 
  1181. tiresome and challenging for a novice user.
  1182.  
  1183. Tests also cannot check the wiring in your serial Cable. The Modem Doctor 
  1184. will tell you if a handshaking pair is missing, but it cant tell you why. It 
  1185. could be because the UART is bad, but more than likely, your RS-232 Cable 
  1186. doesn't carry all of the handshaking signals to or from the external modem or 
  1187. serial device. This can be important if you are using a high-speed modem. 
  1188. Most High-speed modems will drop the CTS line when their communication 
  1189. buffers are full. Previous Modems ignored the RTS/CTS signals and instead 
  1190. used the DTR/DCE pair. What this means is that if you buy a new modem, it 
  1191. might not work with the older-cable (yet at the same time the older modem 
  1192. will work..which might lead you to believe that you have a defective modem).
  1193.  
  1194.  
  1195. Quirks with Some Modems
  1196. -----------------------m mCarrier tests - Some Modems have two "AT" instruction sets, usually referred 
  1197. to as Compatible and Enhanced. If your modem does not perform a carrier test
  1198. at speeds below 4800, then this is usually the case. Some modems provide a 
  1199. dip-switch or a toggle switch to select either mode. Setting your modem to 
  1200. the Standard Compatible Mode should get rid of your problems below 4800 bps.
  1201.  
  1202. At speeds above 4800 bps, the Modem Doctor is only compatible with USR V.32, 
  1203. Dual Standards (V.32 and HST) and HST brand of modems. If you have one of 
  1204. these modems and experience a problem below 4800 bps, the culprit is leaving 
  1205. the MNP Protocol (&M4) selected instead of turning it off (&M0). You can 
  1206. correct this by going to the Manual Mode, type ATZ, then AT &M0 &W. This 
  1207. permanently writes the &M0 setting to the modem. If desired, you can at the 
  1208. end of the test turn the &M4 switch back on the same way you turned it off. 
  1209. Future versions of the Modem Doctor will include a configuration file, but 
  1210. for now, I cannot write this setting to your Modem, because other Modems use 
  1211. this &M0 switch to set Sync/Async applications. REMEMBER..this is only for
  1212. USR Modems below 4800 bps. Above 4800 bps (9600/19200) the Modem Doctor will 
  1213. take care of this for you, since compatibility is not a problem with other 
  1214. brands at these speeds.
  1215.  
  1216. Finally, if only one of the tests (Originate or Answer) runs and NO CARRIER
  1217. is displayed for the other, the problem lies with the Enhanced Command 
  1218. settings of your modem. With the USR Modems, make sure again that you have 
  1219. the &M4 switch set to &M0 for speeds below 4800 bps. Genuine Hayes 2400 
  1220. Modems use &T1 through &T8 commands for their 2400 and also have other 
  1221. special switches. Again for the sake of compatibility with the widest range 
  1222. of modems at speeds below 4800, this cannot be corrected for in this version. 
  1223. You can however use the Manual Mode and type AT &T1 to test your modem. In 
  1224. fact, you can leave it in that setting, switch to the Analog Loopback test, 
  1225. and perform your own custom carrier test.
  1226.  
  1227. Considering the vast numbers of "AT" compatible modems in the marketplace, 
  1228. these two exceptions are minor and will not affect most users, and this 
  1229. information is only included as a special help for those "tekkies" out there.
  1230.  
  1231.  
  1232. Section 7 Registration Information
  1233. -----------------------------------
  1234.  
  1235. The Modem Doctor is copyrighted by Hank Volpe. The Shareware Version of this 
  1236. program may be distributed on Bulletin Board Systems or in Public Domain 
  1237. Libraries as long as a Fee is not charged for its duplication or acquisition. 
  1238. The Modem Doctor is distributed on as "As-is" basis, with no warranties for 
  1239. usefulness or suitability expressed or implied. Users of the Shareware 
  1240. version are granted a limited license to use this program. It is expected 
  1241. that if you use it for more than 30 days, that you will register the Modem 
  1242. Doctor.
  1243.  
  1244. Registration adts many powerful features that make the Modem Doctor an 
  1245. excellent RS-232/UART/Modem Diagnostic Tool. Comparable programs cost well 
  1246. over $100, while the Modem Doctor Registration Fee is just $19.95 for a 
  1247. single copy.
  1248. Group Discount prices for software distributors and Businesses are available.
  1249.  
  1250. For Single-user registration, send a check or Money order for $19.95 to
  1251.  
  1252.                                   Hank Volpe
  1253.                               108 Broadmoor Drive
  1254.                               Tonawanda NY 14150
  1255.  
  1256. You will receive the latest version of the Modem Doctor, plus several other 
  1257. useful Modem Utilities. Registered Users also are entitled for updates to 
  1258. newer versions (when available) for a small fee to cover shipping and 
  1259. handling.
  1260.  
  1261.  
  1262. Notes -
  1263. [+]  Copyrighted by US Robotics INC
  1264. [++] Copyrighted by Hayes Inc
  1265.      References to Smartmodem Copyrighted by Hayes.
  1266.      References to USR/HST/Dual Standard Copyrighted by US Robotics.
  1267.      References to MNP refer to An error free protocol Copyrighted by
  1268.                    Microcom Inc.
  1269.  Disclaimer -
  1270.      It is not the intent of the Author to recommend any brand of modem
  1271.      over another nor to infringe on the Copyrights of the Manufacturers
  1272.      by mentioning their products. A modem fits a need, and whatever one
  1273.      works for you is the one you should have. As time goes on, more
  1274.      modems will be added to the list of "special enhanced " tests. The
  1275.      modems mentioned are done so only because of the popularity they
  1276.      enjoy and for no other reason.
  1277.  
  1278.